<?php if (!defined('CANPHP')) exit;?><div class="banner">
    <div class="hd">
        <ul>
            <?php $list=module("label")->getlist('table=\"ads\" id=\"10\" limit=\"1\"'); $list_i=0; if(is_array($list)) foreach($list as $list){  $list_i++; ?> <?php
            if($list['adfile']!=''){
    		$photo_i=1;
    	    foreach(explode('|-|',$list['adfile']) as $k=>$v){
            $s=explode('|,|',$v);
            ?>
            <li class="<?php if($k == 0) { ?>hgj<?php } ?>"></li>
            <?php }} ?>
            <?php }unset($list) ?>
        </ul>
    </div>
    <div class="bd">
        <ul>
            <?php $list=module("label")->getlist('table=\"ads\" id=\"10\" limit=\"1\"'); $list_i=0; if(is_array($list)) foreach($list as $list){  $list_i++; ?> <?php
            if($list['adfile']!=''){
    		$photo_i=1;
    	    foreach(explode('|-|',$list['adfile']) as $k=>$v){
            $s=explode('|,|',$v);
            ?>
            <li class="banner<?php echo $k; ?>" title="" onclick="window.open('<?php echo $s[2]; ?>')" style="background-image: url('<?php echo $s[0]; ?>');"></li>
            <?php }} ?>
            <?php }unset($list) ?>
        </ul>
    </div>
</div>